package com.example.javaproject;

import java.security.InvalidParameterException;

public abstract class BaseCacheModel<K> {
    String fileName;

    public BaseCacheModel(String fileName) {
        if (fileName == null || "null".equals(fileName)) {
            throw new InvalidParameterException(this.getClass().getName() + ": file name can't be null");
        }
        this.fileName = fileName;
    }
}
